//
//  ECUIView_Category.h
//  Edu_iOS
//
//  Created by yanyan on 2017/9/7.
//  Copyright © 2017年 yanyan. All rights reserved.
//


//tvcell
#import "UITVCell_base.h"
#import "CYBlock.h"
#import "CategoryModel.h"

@interface ECUITVCell_PrimaryCategory : UITVCell_base

@end
//Cv cell--  首页用
#import "CYUICVCell_base.h"
@interface ECUICVCell_SubCategory : CYUICVCell_base
@property(nonatomic,readonly)UILabel *titleLabel;
@end
//  tvcell  分类页面
@interface ECUITVCell_SubCategory : UITVCell_base
@property(nonatomic,readonly)UILabel *titleLabel;
@end
@interface ECUICVCell_FoldSubCategory : CYUICVCell_base
@property(nonatomic,readonly)UILabel *titleLabel;
@end
//cv header
#import "CYUICVHeader_base.h"
@interface ECUICVHeader_Category : CYUICVHeader_base
@property(nonatomic,strong)UILabel *titleLabel;
@end
#import "CYUIView_base.h"

@interface ECUIView_Category : CYUIView_base
@property(nonatomic,assign)NSInteger selectedIndex;
@property(nonatomic,readonly)UITableView *tableView;
@property(nonatomic,readonly)UITableView *secondView;
@property(nonatomic,readonly)UITableView *thirdView;
@property(nonatomic,strong)NSMutableArray *categorysData;
@property(nonatomic,strong)PrimaryCategoryModel *firstCategoryModel;// 一级分类
@property(nonatomic,strong)PrimaryCategoryModel *secondCategoryModel;// 二级分类
@property(nonatomic,strong)PrimaryCategoryModel *defaultCategoryModel;//一显示就展示的选中分类。
@property(nonatomic,strong)CYBlock_ObjectIndexpath block_selectedAtIndex;
@end
